Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Sep 15, 2025

  • Initial plan to enhance BC30738 error documentation
  • Create enhanced documentation with practical guidance for Visual Basic developers
  • Add cause section explaining Windows Forms application framework conflict
  • Provide structured resolution options (Use Framework, Disable Framework, Remove duplicates)
  • Add My.MyApplication.Main section with event handling guidance
  • Enhanced references and cross-links to related documentation
  • Apply suggestions from code review - convert lists to unordered format
  • Apply suggestions from code review - use xref syntax for API references

The BC30738 error documentation has been significantly enhanced and all review feedback has been addressed. The final version now uses proper xref cross-references for My.MyApplication (WindowsFormsApplicationBase), Startup, StartupNextInstance, and Shutdown events, providing developers with direct links to the official API documentation.

Fixes #35216


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.


Internal previews

📄 File 🔗 Preview link
docs/visual-basic/misc/bc30738.md 'Sub Main' is declared more than once in '<namespace>': <message>

@dotnet-policy-service dotnet-policy-service bot added the okr-quality Content-quality KR: Concerns article defects (bugs), freshness, or build warnings. label Sep 15, 2025
@Copilot Copilot AI changed the title [WIP] 'Sub Main' is declared more than once in '<namespace>': <message> Enhance BC30738 error documentation with Windows Forms and My.MyApplication guidance Sep 15, 2025
@Copilot Copilot AI requested a review from BillWagner September 15, 2025 20:49
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more set of changes, and this will be ready.

@BillWagner
Copy link
Member

@copilot Address the remaining review comment

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ready for final review

@BillWagner BillWagner marked this pull request as ready for review September 16, 2025 14:08
@BillWagner BillWagner requested a review from a team as a code owner September 16, 2025 14:08
@BillWagner BillWagner requested a review from gewarren September 16, 2025 14:10
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ready for final review.

Co-authored-by: Genevieve Warren <[email protected]>
@BillWagner BillWagner enabled auto-merge (squash) September 17, 2025 15:32
@BillWagner BillWagner merged commit 1792fc9 into main Sep 17, 2025
10 checks passed
@BillWagner BillWagner deleted the copilot/fix-35216 branch September 17, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet-visualbasic/svc errors-warnings/subsvc okr-quality Content-quality KR: Concerns article defects (bugs), freshness, or build warnings.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'Sub Main' is declared more than once in '<namespace>': <message>
3 participants